package com.example.livereplay.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.livereplay.common.model.enity.LiveStream;
import com.example.livereplay.common.model.request.CreateLiveStreamRequest;

import java.util.List;
public interface LiveStreamService extends IService<LiveStream> {
    LiveStream createLiveStream(CreateLiveStreamRequest createLiveStreamRequest);//创建直播
    LiveStream startLiveStream(String liveStreamId);//开始直播
    List<LiveStream> getLiveStreamsByPlaceId(String placeId); // 根据场地ID获取直播列表
}
